package com.tchhy.provider.data.healthy.response

/**
 * Created by admin on 2019-12-13
 */
data class MedicineChangeTypeListRes(
    var medicineList: List<MedicineList>,
    var typeList: List<TypeList>
) {
    data class MedicineList(
        var isReplace:Boolean = false,
        var coding: String? ,
        var commodityId: Long?,
        var dosageFormat: String?,
        var file: File?,
        var image: Image?,
        var indication: String?,
        var location: String?,
        var medicineType: Int?,
        var partnerPrice: Int?,
        var salesName: String?,
        var status: Int?,
        var typeCode: String?,
        var typeCodeName: String?,
        var units: String?,
        var backCommodityId:Long? = null//替换前的commodityId




    ) {
        data class File(
            var length: Int,
            var name: String,
            var url: String
        )

        data class Image(
            var length: Int?,
            var name: String,
            var url: String
        )
    }

    data class TypeList(
        var count: Int,
        var typeCode: String?,
        var typeName: String
    )
}